export const radioStyle = {
    display: "block",
    paddingBottom: "6px",
};

interface Option {
    // < 10 ? `0${i}` : `${i}`
    value: number
    label: string
}

// 设置select数据源
export const setOptions = (len: number, start = 0): Option[] => {
    let arr = [];
    for (let i = start; i < len; i++) {
        arr.push(
            {
                value: i,
                label: i < 10 ? `0${i}` : `${i}`
            }
        );
    }
    return arr;
}

// 星期 数据源
export const weekOptions = [{
    label: "星期一",
    value: "MON"
}, {
    label: "星期二",
    value: "TUE"
}, {
    label: "星期三",
    value: "WED"
}, {
    label: "星期四",
    value: "THU"
}, {
    label: "星期五",
    value: "FRI"
}, {
    label: "星期六",
    value: "SAT"
}, {
    label: "星期日",
    value: "SUN"
}];
